// The module 'vscode' contains the VS Code extensibility API
// Import the module and reference it with the alias vscode in your code below
import * as vscode from 'vscode';
import helloWorld from './hello-world';
import helloWorld2 from './hello';
import path from './path';
import editorMenu from './show-edit-menu';
import hover from './hover';

// this method is called when your extension is activated
// your extension is activated the very first time the command is executed
export function activate(context: vscode.ExtensionContext) {
	console.log('Congratulations, your extension "vs-code-plugin" is now active!');

	helloWorld(context);		// hell world
	// helloWorld2(context);
	path(context);				// 资源管理器-路径资源
	editorMenu(context);		// editor菜单
	hover(context);				// 悬停

}

/**
 *  哪些行为会触发插件释放？
 */
// this method is called when your extension is deactivated
export function deactivate() {
	console.log('您的扩展插件已释放.');

}
